﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B71 RID: 2929
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyClickCellCsReq : IMessage<MonopolyClickCellCsReq>, IMessage, IEquatable<MonopolyClickCellCsReq>, IDeepCloneable<MonopolyClickCellCsReq>, IBufferMessage
	{
		// Token: 0x170024FF RID: 9471
		// (get) Token: 0x0600830F RID: 33551 RVA: 0x0015DB38 File Offset: 0x0015BD38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyClickCellCsReq> Parser
		{
			get
			{
				return MonopolyClickCellCsReq._parser;
			}
		}

		// Token: 0x17002500 RID: 9472
		// (get) Token: 0x06008310 RID: 33552 RVA: 0x0015DB3F File Offset: 0x0015BD3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyClickCellCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002501 RID: 9473
		// (get) Token: 0x06008311 RID: 33553 RVA: 0x0015DB51 File Offset: 0x0015BD51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyClickCellCsReq.Descriptor;
			}
		}

		// Token: 0x06008312 RID: 33554 RVA: 0x0015DB58 File Offset: 0x0015BD58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyClickCellCsReq()
		{
		}

		// Token: 0x06008313 RID: 33555 RVA: 0x0015DB60 File Offset: 0x0015BD60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyClickCellCsReq(MonopolyClickCellCsReq other) : this()
		{
			this.cellId_ = other.cellId_;
			this.mapId_ = other.mapId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008314 RID: 33556 RVA: 0x0015DB91 File Offset: 0x0015BD91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyClickCellCsReq Clone()
		{
			return new MonopolyClickCellCsReq(this);
		}

		// Token: 0x17002502 RID: 9474
		// (get) Token: 0x06008315 RID: 33557 RVA: 0x0015DB99 File Offset: 0x0015BD99
		// (set) Token: 0x06008316 RID: 33558 RVA: 0x0015DBA1 File Offset: 0x0015BDA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CellId
		{
			get
			{
				return this.cellId_;
			}
			set
			{
				this.cellId_ = value;
			}
		}

		// Token: 0x17002503 RID: 9475
		// (get) Token: 0x06008317 RID: 33559 RVA: 0x0015DBAA File Offset: 0x0015BDAA
		// (set) Token: 0x06008318 RID: 33560 RVA: 0x0015DBB2 File Offset: 0x0015BDB2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MapId
		{
			get
			{
				return this.mapId_;
			}
			set
			{
				this.mapId_ = value;
			}
		}

		// Token: 0x06008319 RID: 33561 RVA: 0x0015DBBB File Offset: 0x0015BDBB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyClickCellCsReq);
		}

		// Token: 0x0600831A RID: 33562 RVA: 0x0015DBC9 File Offset: 0x0015BDC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyClickCellCsReq other)
		{
			return other != null && (other == this || (this.CellId == other.CellId && this.MapId == other.MapId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600831B RID: 33563 RVA: 0x0015DC08 File Offset: 0x0015BE08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CellId != 0U)
			{
				num ^= this.CellId.GetHashCode();
			}
			if (this.MapId != 0U)
			{
				num ^= this.MapId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600831C RID: 33564 RVA: 0x0015DC60 File Offset: 0x0015BE60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600831D RID: 33565 RVA: 0x0015DC68 File Offset: 0x0015BE68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600831E RID: 33566 RVA: 0x0015DC74 File Offset: 0x0015BE74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CellId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.CellId);
			}
			if (this.MapId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.MapId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600831F RID: 33567 RVA: 0x0015DCD0 File Offset: 0x0015BED0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CellId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CellId);
			}
			if (this.MapId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MapId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008320 RID: 33568 RVA: 0x0015DD28 File Offset: 0x0015BF28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyClickCellCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CellId != 0U)
			{
				this.CellId = other.CellId;
			}
			if (other.MapId != 0U)
			{
				this.MapId = other.MapId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008321 RID: 33569 RVA: 0x0015DD78 File Offset: 0x0015BF78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008322 RID: 33570 RVA: 0x0015DD84 File Offset: 0x0015BF84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.MapId = input.ReadUInt32();
					}
				}
				else
				{
					this.CellId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003234 RID: 12852
		private static readonly MessageParser<MonopolyClickCellCsReq> _parser = new MessageParser<MonopolyClickCellCsReq>(() => new MonopolyClickCellCsReq());

		// Token: 0x04003235 RID: 12853
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003236 RID: 12854
		public const int CellIdFieldNumber = 10;

		// Token: 0x04003237 RID: 12855
		private uint cellId_;

		// Token: 0x04003238 RID: 12856
		public const int MapIdFieldNumber = 15;

		// Token: 0x04003239 RID: 12857
		private uint mapId_;
	}
}
